22. 多类别交叉熵

多类别交叉熵

备注

视频中02‘37’‘
这里的n表示类别数量
例如:n表示的 鸭子,海狸,海豹,则
Cross-Entropy = ∑ ∑ [ yij * ln(Pij) ] ( i = 1, 2, 3 … n ) ( j = 1, 2, 3 …m ) = ∑ [ y1j * ln(P1j) + y2j * ln(P2j) + ….. yij * ln(Pij) ] 且 ( P1j + P2j + P3j + ……Pij = 1 )